package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @ClassName HospitalService
 * @Description: 类描述
 * @Author: admin
 * @CreateDate: 2024/6/3 16:22
 * @UpdateUser: 更新人
 * @UpdateDate: 2024/6/3 16:22
 * @UpdateRemark: 更新的信息
 * @Version: 1.0
 */

public interface HospitalService {
    //上传医院接口
    void save(Map<String, Object> paramsMap);

    Hospital getByHospcode(String hoscode);

    //分页查询医院列表
    Page<Hospital> selectHospPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    //修改医院状态
    void updateStatus(String id, Integer status);

    //根据id查询医院信息
    Map<String, Object> getHospitalById(String id);

    //根据医院名称模糊查询
    List<Hospital> selectHospByName(String hosname);

    Map<String, Object> item(String hoscode);
}
